﻿<html>
<head>
    <title>Jquery Context Menu Example</title>
    <link rel="stylesheet" type="text/css" href="../css/jquery.contextMenu.css" />
    <script type="text/javascript" src="../js/jquery-1.6.1.min.js"></script>
    <script type="text/javascript" src="../js/jquery.contextMenu.js"></script>
    <script type="text/javascript">
        //Usage:$(elementselector).addcontextmenu('id_of_context_menu_on_page')
        //To apply context menu to entire document, use:

        $(document).ready(function ($) {
            $('img').contextMenu('mycontextmenu') //apply context menu to all images on the page
        })
    </script>
</head>

<body>

    <ul id="mycontextmenu">
    </ul>

    <center>
    <h1>Jquery Context Menu Demo</h1>

    </center>
    <p><img src="icon_smile.gif"></img></p>

</body>
</html>